package cn.kgc.mybatis.day04.mapper;

import cn.kgc.mybatis.day04.entity.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/10/29
 * @description
 */
public interface EmpMapper {

    List<Emp> selectList();

    List<Emp> selectListByStep();

    List<Emp> searchEmp(Emp emp);

    Integer  updateEmp(Emp emp);

    List<Emp> newSearchEmp(Emp emp);

    Integer  batchDelete(@Param("ids") List<Integer> ids);
}
